//
//  TXYResponse.h
//  FunnyVideo
//
//  Created by 李鑫 on 15/8/28.
//  Copyright © 2015年 NewEggTech. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TXYResponseData.h"

@interface TXYResponse : NSObject

@property (nonatomic,assign) NSUInteger     code;
@property (nonatomic,assign) NSUInteger     httpcode;
@property (nonatomic,strong) NSString       *message;
@property (nonatomic,strong) TXYResponseData   *data;

+ (TXYResponse *)createResponseWith:(NSUInteger)code httpCode:(NSUInteger)httpcode message:(NSString *)msg data:(NSDictionary *)data;
- (TXYResponseData *)getRespData;
@end
